<?php
/**
 * Created by PhpStorm.
 * User: stupboy
 * Date: 2018/3/20
 * Time: 17:48
 * Mail:87658989@qq.com
 */

namespace app\api\validate;

use think\Validate;

class Order extends Validate
{
    protected $rule = [
        'passenger_id|下单人' => 'require|number',
        'car_type_id'=>'require',
        'order_no'=>'require',
        'passenger_name'=>'require',
        'passenger_phone'=>'require',
        'order_type'=>'require',
        'order_time'=>'require',
        'orderer'=>'require',
        'booking_type'=>'require',
        'area_id'=>'require',
    ];
}